package com.duobao.wugong;

import com.duobao.server.NPC;
import com.duobao.server.WuGong;

public class JBQJ extends WuGong
{

    public JBQJ(int Lv) {
        super(2, 3, "基本拳脚", Lv);
        this.setXishu(1.000f);
        this.setTezhaoshu(1);
        this.setZjiashu(1);
    }

    @Override
    public String getchuzhao(int id, NPC npc1, NPC npc2) {
        String str=null;
        switch(id)
        {
        case 1:str= npc1.getName()+"一拳打向"+npc2.getName()+"的"+npc2.getYHai()[(int)(Math.random()*8)]+"，";
        }

        return str;
    }

    @Override
    public String getzhongzhao(int id, NPC npc1, NPC npc2) {
        String str=null;
        switch(id)
        {
        case 1:str= npc2.getName()+"躲闪不及,结果重重地挨了一掌！";
        }

        return str;
    }

    @Override
    public String getzhaojia(int id, NPC npc1, NPC npc2) {
        String str=null;
        switch(id)
        {
        case 1:str=npc1.getName()+"出拳格挡，震得自己手臂发麻！";
        }

        return str;
    }


}
